package cn.dzhang.spring.web.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import cn.dzhang.spring.model.Account;

@XmlRootElement(name = "accounts")
public class AccountsWrap extends ModelsWrap<Account> {
	public AccountsWrap() {
	}

	public AccountsWrap(List<Account> accounts) {
		super(accounts);
	}

	@XmlElement(name = "account")
	@Override
	public List<Account> getList() {
		return list;
	}

}
